<?php
header("Access-Control-Allow-origin:*");
$arr = [];
$resArr = [];
$id=@$_POST["id"];


$randon=mt_rand(1,2);
$stRandon=mt_rand(0,2);

$status=array(-99,1,99);
$statusFXName=array("审核不通过","待放款","已入账");
$statusTXName=array("提现失败","待处理","已完成");

if($id){
    $resArr["code"]=200;
    $arr=array(
    	"orderno"=>$id,
    	"typeno"=>$randon,
    	"typename"=>($randon==1 ? "团队带佣金" :"提现操作"),
    	"time"=>"2018-10-30 13:14",
    	"money"=>$id,
    	"statusno"=>$status[$stRandon],
    	"statusname"=>($zjRandon==1 ? $statusFXName[$stRandon] :$statusTXName[$stRandon]),
    	"account"=>"xieym111",
    	"income"=>$id
    );
}else{
    $resArr["code"]=300;
    $resArr["msg"]="请您先登录";

}



$resArr["data"]=$arr;




echo json_encode($resArr);

?>